home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
pascal
/
tpdb314.zip
/
TPDB.DOC
< prev
next >
Wrap
Text File
|
1991-01-31
|
55KB
|
1,924 lines
This documentation was written using Borland's MicroStar word
processor.
THIS SOFTWARE IS PROTECTED BY A COPYRIGHT DULY REGISTERED WITH THE
U.S. COPYRIGHT OFFICE. PIRACY WILL NOT GO UNPUNISHED (IN THIS LIFE OR
THE NEXT.)
(****************************************)
(* TPDB 3.14 *)
(* Turbo Pascal Tools for dBASE *)
(* *)
(* Turbo Pascal 6.0 *)
(* Object - Oriented Database Toolbox *)
(* Utilizing dBASE Compatible Data *)
(* Files *)
(* *)
(* Copyright 1990 *)
(* Brian Corll *)
(* and Ten B.C. Micro Systems *)
(* All Rights Reserved *)
(* dBASE, dBASE III, and dBASE *)
(* III Plus are registered *)
(* trademarks of Ashton-Tate Corp. *)
(* *)
(* Turbo Pascal is a registered *)
(* trademark of Borland Int. Corp. *)
(* *)
(* Version 3.14 January,1991 *)
(* *)
(****************************************)
(* Portions copyright 1984,1990 by *)
(* Borland International Corp. *)
(****************************************)
TPDB is a toolbox of Turbo Pascal 6.0 units which allow
you to access, index, search, read and write database
files that were created with dBASE III or III Plus, using
75+ Turbo Pascal procedures and functions written
specifically for these purposes, and implementing
object-oriented techniques. This toolbox supports multiple
data files and associated indexes (NOT dBASE INDEXES !)
limited only by available memory and file handles allowed
by DOS. Index keys can be up to 254 characters, and can be
composed of multiple fields or expressions which evaluate
to a string not longer than 254 characters.
************************************************************
* Technical Support *
************************************************************
* *
*Questions/comments can be left for me on the InterLink or*
*FidoNet Pascal or dBASE conferences. On FidoNet, I am a*
*point, 1:270/111.3 *
* *
************************************************************
*My CompuServe ID is 73067,3310. *
************************************************************
This program is being distributed under the Shareware
concept.
If you like this program and use it, a registration fee of
$ 19.95 is required for non-profit users. Commercial users
MUST register for a one-time, royalty-free registration
fee of $ 29.95. Registered users will receive source code
for TPDB.tpu, TPDBDATE.tpu, TPDBScrn.tpu, TPDBStr.tpu, and
TPDBSort.tpu. See the file REGISTER.FRM. Registration also
includes free technical support, within the limitations of
my time and resources.
NOTA BENE: This registration fee is intended to cover my
personal time and expense in developing, documenting,
distributing, and supporting this toolbox, and does not
constitute the sale of the code contained therein.
Write to:
SoftIron
Brian Corll
1002 East Simpson Street
Mechanicsburg,PA 17055
Make checks payable to Brian Corll.
DISCLAIMER
This program is provided "as is" without warranty of any
kind, either express or implied, included but not limited
to the implied warranty of merchantability and fitness for
a specific purpose. The entire risk as to the quality and
performance of this program is with you.
In no event will the author be liable to you for any
damages, including any lost profits, lost savings or other
incidental or consequential damages arising out of the use
of or inability to use this program.
That said, please be assured that I have spent many long
hours trying to make this toolbox the best it can be, and
I'm working to make it even better !
(**********************************)
(* Interface Listing for TPDB.pas *)
(**********************************)
Unit TPDB;
{This version is Version 3.14 January, 1991}
(***********************************)
(* Object -Oriented *)
(* Turbo Pascal 6.0 Unit *)
(* for Accessing dBASE III *)
(* files. *)
(* Copyright 1990 *)
(* Brian Corll *)
(* All Rights Reserved *)
(* dBASE is a registered *)
(* trademark of Ashton-Tate, Inc. *)
(* Version 3.14 January,1991 *)
(***********************************)
(* Portions Copyright 1984,1990 *)
(* Borland International Corp. *)
(***********************************)
INTERFACE
Uses CRT,Dos,TPDBINDX,TPDBDate,TPDBScrn,TPDBStr;
(******************************)
(* Global VARiables *)
(******************************)
CONST
(**************************************************************************)
MaxInds = 10; {Maximum number of indexes per file. Change this as needed.}
(**************************************************************************)
AutoWrap : Boolean = FALSE;
{Set this to TRUE to enable wrapping of field input.}
{ These are screen editing control keys:
CursorDown = ^X;
CursorEND = ^F;
CursorHome = ^A;
CursorLeft = ^S;
CursorRight = ^D;
CursorUp = ^E;
DelKey = ^G;
Escape = ^[;
ExtKey : Boolean = FALSE;
PageDown = ^C;
PageUp = ^R;
Return = ^M;
TabKey = #9;}
{ These constants determine whether or not index keys are unique:
NoDuplicates = 0;
Duplicates = 1;}
Filler : Char = #32; {This is the character displayed for blank
portion of fields during editing and display.}
{Numeric processing minimum and maximum values
MaxLong = 2147483647;
MaxReal = 3.4E37;
MinLong = -2147483647;
MinReal = 1.5E-45;}
UpperCase : Boolean = FALSE; {Turns upper case conversion ON/OFF
during screen input.}
{Date format constants}
{Used by SetDateFormat procedure}
French = 1; {dd/mm/yy}
German = 2; {dd.mm.yy}
Italian = 3; {dd-mm-yy}
American = 4; {mm/dd/yy}
British = 5; {dd/mm/yy}
Ans